package com.fanfan.SmartPensionSystembackend.service;

import com.fanfan.SmartPensionSystembackend.entity.Activity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description ActivityService
 * @Author Guangdi Chen
 * @Date 2025-03-23
 */
@Service
public interface ActivityService {
    //添加活动
    boolean addActivity(Activity activity);

    // 获取所有活动
    List<Activity> getAllActivity();

    //通过审核
    boolean updateStatus(String activityId, String status);

    //驳回审核
    boolean rejectStatus(String activityId, String status, String rejectReason);
    // 根据状态筛选活动
    List<Activity> getActivityListByStatus(String status);
}
